package com.findexception.product;

import com.findexception.model.Product;
import com.jfinal.core.Controller;

/**
 * 产品管理
 * 
 */
public class ProductController extends Controller {

	public void update() throws Exception {
		int id = getParaToInt(0);

		Product product = Product.dao.findById(id);
		setAttr("product", product);

		render("/product/update.html");
	}
}